﻿@{
    ViewBag.Title = "MaxLengthTest";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<link rel="stylesheet" href="/JsLib/zeus/plugin/maxlength/zeus.plugin.maxlength.css" type="text/css" />

@Html.Partial("~/Views/Shared/_PageNote.cshtml")

<p>
    <span class="demoLabel">Default max length:</span>
    <textarea id="defaultLength" rows="3" cols="60"></textarea>
</p>

<script type="text/javascript" src="/JsLib/zeus/plugin/maxlength/zeus.plugin.maxlength.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#defaultLength').maxlength();
    });
</script>